home *** CD-ROM | disk | FTP | other *** search
- // Copyright (C) 1997-2002 Alias|Wavefront,
- // a division of Silicon Graphics Limited.
- //
- // The information in this file is provided for the exclusive use of the
- // licensees of Alias|Wavefront. Such users have the right to use, modify,
- // and incorporate this code into other products for purposes authorized
- // by the Alias|Wavefront license agreement, without fee.
- //
- // ALIAS|WAVEFRONT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
- // INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
- // EVENT SHALL ALIAS|WAVEFRONT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
- // CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
- // DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
- // TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- // PERFORMANCE OF THIS SOFTWARE.
- //
- //
- // Alias|Wavefront Script File
- // MODIFY THIS AT YOUR OWN RISK
- //
- // Creation Date: Jan 30, 1999
- //
- //
- // Description:
- // This proc fills the curveEdContext tool property sheet with values.
- // See also sphereProperties.mel
- //
- // Input Arguments:
- // $toolName - this is the name of the instance of the tool
- // that the property sheet is modifying.
- //
- // Return Value:
- // None.
- //
- //
- //
- //
-
- global proc surfaceEditorValues( string $toolName )
- //
- // Description:
- // Sets the state of the property sheet based on the values
- // in the tool context.
- //
- {
- // set my top layout to be the current $parent
- //
- string $parent = (`toolPropertyWindow -q -location` + "|surfaceEditor");
- setParent $parent;
-
- int $scale = `curveEditorCtx -q -rts $toolName`;
- floatSliderGrp -e -v $scale scaleField;
-
- // set property sheet label and icon
-
- // Can't set the help tag because this is used for both
- // curves and surfaces and I don't know which at this point.
- //
- // string $helpTag = "CurveEditing";
- // string $helpTag = "SurfaceEditingTool";
- string $helpTag = "";
- toolPropertySetCommon $toolName "surfaceEditor.xpm" $helpTag;
- toolPropertySelect surfaceEditor;
- }
-